﻿using System;
using System.ComponentModel;
using System.Reflection;
using System.Runtime.InteropServices;
using Teigha.Core;

namespace Teigha.TD
{
	public class OdDbDatabaseReactor : OdRxObject
	{
		[EditorBrowsable(EditorBrowsableState.Never)]
		public OdDbDatabaseReactor(IntPtr cPtr, bool cMemoryOwn) : base(TD_DbPINVOKE.OdDbDatabaseReactor_SWIGUpcast(cPtr), cMemoryOwn)
		{
			this.swigCPtr = new HandleRef(this, cPtr);
		}

		[EditorBrowsable(EditorBrowsableState.Never)]
		public static HandleRef getCPtr(OdDbDatabaseReactor obj)
		{
			if (obj != null)
			{
				return obj.swigCPtr;
			}
			return new HandleRef(null, IntPtr.Zero);
		}

		~OdDbDatabaseReactor()
		{
			this.Dispose();
		}

		public override void Dispose()
		{
			if (this.swigCPtr.Handle != IntPtr.Zero)
			{
				if (this.swigCMemOwn)
				{
					lock (this.locker)
					{
						if (this.swigCPtr.Handle != IntPtr.Zero && this.swigCMemOwn)
						{
							this.swigCMemOwn = false;
							TD_DbPINVOKE.delete_OdDbDatabaseReactor(this.swigCPtr);
						}
					}
					this.swigCMemOwn = false;
				}
				this.swigCPtr = new HandleRef(null, IntPtr.Zero);
			}
			GC.SuppressFinalize(this);
			base.Dispose();
		}

		public OdDbDatabaseReactor() : this(TD_DbPINVOKE.new_OdDbDatabaseReactor(), MemoryManager.GetMemoryManager().GetCurrentTransaction() == null)
		{
			MemoryTransaction currentTransaction = MemoryManager.GetMemoryManager().GetCurrentTransaction();
			if (currentTransaction != null)
			{
				currentTransaction.AddObject(new OdDbDatabaseReactor(this.swigCPtr.Handle, true));
			}
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			this.SwigDirectorConnect();
		}

		public new static OdDbDatabaseReactor cast(OdRxObject pObj)
		{
			MemoryManager memoryManager = MemoryManager.GetMemoryManager();
			MemoryTransaction currentTransaction = memoryManager.GetCurrentTransaction();
			IntPtr p = TD_DbPINVOKE.OdDbDatabaseReactor_cast(OdRxObject.getCPtr(pObj));
			OdDbDatabaseReactor result;
			if (currentTransaction != null)
			{
				currentTransaction.AddObject((OdDbDatabaseReactor)Teigha.Core.Helpers.odrxCreateObjectInternal(p, true));
				result = (OdDbDatabaseReactor)Teigha.Core.Helpers.odrxCreateObjectInternal(p, false);
			}
			else
			{
				result = (OdDbDatabaseReactor)Teigha.Core.Helpers.odrxCreateObjectInternal(p, true);
			}
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public new static OdRxClass desc()
		{
			OdRxClass result = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternal(TD_DbPINVOKE.OdDbDatabaseReactor_desc(), false);
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public new virtual OdRxClass isA()
		{
			OdRxClass result = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternal(this.SwigDerivedClassHasMethod("isA", OdDbDatabaseReactor.swigMethodTypes1) ? TD_DbPINVOKE.OdDbDatabaseReactor_isASwigExplicitOdDbDatabaseReactor(this.swigCPtr) : TD_DbPINVOKE.OdDbDatabaseReactor_isA(this.swigCPtr), false);
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public new virtual OdRxObject queryX(OdRxClass protocolClass)
		{
			OdRxObject result = Teigha.Core.Helpers.odrxCreateObjectInternal(this.SwigDerivedClassHasMethod("queryX", OdDbDatabaseReactor.swigMethodTypes0) ? TD_DbPINVOKE.OdDbDatabaseReactor_queryXSwigExplicitOdDbDatabaseReactor(this.swigCPtr, OdRxClass.getCPtr(protocolClass)) : TD_DbPINVOKE.OdDbDatabaseReactor_queryX(this.swigCPtr, OdRxClass.getCPtr(protocolClass)), false);
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public static OdDbDatabaseReactor createObject()
		{
			MemoryManager memoryManager = MemoryManager.GetMemoryManager();
			MemoryTransaction currentTransaction = memoryManager.GetCurrentTransaction();
			IntPtr p = TD_DbPINVOKE.OdDbDatabaseReactor_createObject();
			OdDbDatabaseReactor result;
			if (currentTransaction != null)
			{
				currentTransaction.AddObject((OdDbDatabaseReactor)Teigha.Core.Helpers.odrxCreateObjectInternal(p, true));
				result = (OdDbDatabaseReactor)Teigha.Core.Helpers.odrxCreateObjectInternal(p, false);
			}
			else
			{
				result = (OdDbDatabaseReactor)Teigha.Core.Helpers.odrxCreateObjectInternal(p, true);
			}
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public virtual void objectAppended(OdDbDatabase pDb, OdDbObject pObject)
		{
			if (this.SwigDerivedClassHasMethod("objectAppended", OdDbDatabaseReactor.swigMethodTypes2))
			{
				TD_DbPINVOKE.OdDbDatabaseReactor_objectAppendedSwigExplicitOdDbDatabaseReactor(this.swigCPtr, OdDbDatabase.getCPtr(pDb), OdDbObject.getCPtr(pObject));
			}
			else
			{
				TD_DbPINVOKE.OdDbDatabaseReactor_objectAppended(this.swigCPtr, OdDbDatabase.getCPtr(pDb), OdDbObject.getCPtr(pObject));
			}
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		public virtual void objectUnAppended(OdDbDatabase pDb, OdDbObject pObject)
		{
			if (this.SwigDerivedClassHasMethod("objectUnAppended", OdDbDatabaseReactor.swigMethodTypes3))
			{
				TD_DbPINVOKE.OdDbDatabaseReactor_objectUnAppendedSwigExplicitOdDbDatabaseReactor(this.swigCPtr, OdDbDatabase.getCPtr(pDb), OdDbObject.getCPtr(pObject));
			}
			else
			{
				TD_DbPINVOKE.OdDbDatabaseReactor_objectUnAppended(this.swigCPtr, OdDbDatabase.getCPtr(pDb), OdDbObject.getCPtr(pObject));
			}
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		public virtual void objectReAppended(OdDbDatabase pDb, OdDbObject pObject)
		{
			if (this.SwigDerivedClassHasMethod("objectReAppended", OdDbDatabaseReactor.swigMethodTypes4))
			{
				TD_DbPINVOKE.OdDbDatabaseReactor_objectReAppendedSwigExplicitOdDbDatabaseReactor(this.swigCPtr, OdDbDatabase.getCPtr(pDb), OdDbObject.getCPtr(pObject));
			}
			else
			{
				TD_DbPINVOKE.OdDbDatabaseReactor_objectReAppended(this.swigCPtr, OdDbDatabase.getCPtr(pDb), OdDbObject.getCPtr(pObject));
			}
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		public virtual void objectOpenedForModify(OdDbDatabase pDb, OdDbObject pObject)
		{
			if (this.SwigDerivedClassHasMethod("objectOpenedForModify", OdDbDatabaseReactor.swigMethodTypes5))
			{
				TD_DbPINVOKE.OdDbDatabaseReactor_objectOpenedForModifySwigExplicitOdDbDatabaseReactor(this.swigCPtr, OdDbDatabase.getCPtr(pDb), OdDbObject.getCPtr(pObject));
			}
			else
			{
				TD_DbPINVOKE.OdDbDatabaseReactor_objectOpenedForModify(this.swigCPtr, OdDbDatabase.getCPtr(pDb), OdDbObject.getCPtr(pObject));
			}
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		public virtual void objectModified(OdDbDatabase pDb, OdDbObject pObject)
		{
			if (this.SwigDerivedClassHasMethod("objectModified", OdDbDatabaseReactor.swigMethodTypes6))
			{
				TD_DbPINVOKE.OdDbDatabaseReactor_objectModifiedSwigExplicitOdDbDatabaseReactor(this.swigCPtr, OdDbDatabase.getCPtr(pDb), OdDbObject.getCPtr(pObject));
			}
			else
			{
				TD_DbPINVOKE.OdDbDatabaseReactor_objectModified(this.swigCPtr, OdDbDatabase.getCPtr(pDb), OdDbObject.getCPtr(pObject));
			}
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		public virtual void objectErased(OdDbDatabase pDb, OdDbObject pObject, bool erased)
		{
			if (this.SwigDerivedClassHasMethod("objectErased", OdDbDatabaseReactor.swigMethodTypes7))
			{
				TD_DbPINVOKE.OdDbDatabaseReactor_objectErasedSwigExplicitOdDbDatabaseReactor__SWIG_0(this.swigCPtr, OdDbDatabase.getCPtr(pDb), OdDbObject.getCPtr(pObject), erased);
			}
			else
			{
				TD_DbPINVOKE.OdDbDatabaseReactor_objectErased__SWIG_0(this.swigCPtr, OdDbDatabase.getCPtr(pDb), OdDbObject.getCPtr(pObject), erased);
			}
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		public virtual void objectErased(OdDbDatabase pDb, OdDbObject pObject)
		{
			if (this.SwigDerivedClassHasMethod("objectErased", OdDbDatabaseReactor.swigMethodTypes8))
			{
				TD_DbPINVOKE.OdDbDatabaseReactor_objectErasedSwigExplicitOdDbDatabaseReactor__SWIG_1(this.swigCPtr, OdDbDatabase.getCPtr(pDb), OdDbObject.getCPtr(pObject));
			}
			else
			{
				TD_DbPINVOKE.OdDbDatabaseReactor_objectErased__SWIG_1(this.swigCPtr, OdDbDatabase.getCPtr(pDb), OdDbObject.getCPtr(pObject));
			}
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		public virtual void headerSysVarWillChange(OdDbDatabase pDb, string name)
		{
			if (this.SwigDerivedClassHasMethod("headerSysVarWillChange", OdDbDatabaseReactor.swigMethodTypes9))
			{
				TD_DbPINVOKE.OdDbDatabaseReactor_headerSysVarWillChangeSwigExplicitOdDbDatabaseReactor(this.swigCPtr, OdDbDatabase.getCPtr(pDb), name);
			}
			else
			{
				TD_DbPINVOKE.OdDbDatabaseReactor_headerSysVarWillChange(this.swigCPtr, OdDbDatabase.getCPtr(pDb), name);
			}
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		public virtual void headerSysVarChanged(OdDbDatabase pDb, string name)
		{
			if (this.SwigDerivedClassHasMethod("headerSysVarChanged", OdDbDatabaseReactor.swigMethodTypes10))
			{
				TD_DbPINVOKE.OdDbDatabaseReactor_headerSysVarChangedSwigExplicitOdDbDatabaseReactor(this.swigCPtr, OdDbDatabase.getCPtr(pDb), name);
			}
			else
			{
				TD_DbPINVOKE.OdDbDatabaseReactor_headerSysVarChanged(this.swigCPtr, OdDbDatabase.getCPtr(pDb), name);
			}
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		public virtual void proxyResurrectionCompleted(OdDbDatabase pDb, string appname, OdDbObjectIdArray objectIds)
		{
			if (this.SwigDerivedClassHasMethod("proxyResurrectionCompleted", OdDbDatabaseReactor.swigMethodTypes11))
			{
				TD_DbPINVOKE.OdDbDatabaseReactor_proxyResurrectionCompletedSwigExplicitOdDbDatabaseReactor(this.swigCPtr, OdDbDatabase.getCPtr(pDb), appname, OdDbObjectIdArray.getCPtr(objectIds));
			}
			else
			{
				TD_DbPINVOKE.OdDbDatabaseReactor_proxyResurrectionCompleted(this.swigCPtr, OdDbDatabase.getCPtr(pDb), appname, OdDbObjectIdArray.getCPtr(objectIds));
			}
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		public virtual void goodbye(OdDbDatabase pDb)
		{
			if (this.SwigDerivedClassHasMethod("goodbye", OdDbDatabaseReactor.swigMethodTypes12))
			{
				TD_DbPINVOKE.OdDbDatabaseReactor_goodbyeSwigExplicitOdDbDatabaseReactor(this.swigCPtr, OdDbDatabase.getCPtr(pDb));
			}
			else
			{
				TD_DbPINVOKE.OdDbDatabaseReactor_goodbye(this.swigCPtr, OdDbDatabase.getCPtr(pDb));
			}
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		private void SwigDirectorConnect()
		{
			if (this.SwigDerivedClassHasMethod("queryX", OdDbDatabaseReactor.swigMethodTypes0))
			{
				this.swigDelegate0 = new OdDbDatabaseReactor.SwigDelegateOdDbDatabaseReactor_0(this.SwigDirectorqueryX);
			}
			if (this.SwigDerivedClassHasMethod("isA", OdDbDatabaseReactor.swigMethodTypes1))
			{
				this.swigDelegate1 = new OdDbDatabaseReactor.SwigDelegateOdDbDatabaseReactor_1(this.SwigDirectorisA);
			}
			if (this.SwigDerivedClassHasMethod("objectAppended", OdDbDatabaseReactor.swigMethodTypes2))
			{
				this.swigDelegate2 = new OdDbDatabaseReactor.SwigDelegateOdDbDatabaseReactor_2(this.SwigDirectorobjectAppended);
			}
			if (this.SwigDerivedClassHasMethod("objectUnAppended", OdDbDatabaseReactor.swigMethodTypes3))
			{
				this.swigDelegate3 = new OdDbDatabaseReactor.SwigDelegateOdDbDatabaseReactor_3(this.SwigDirectorobjectUnAppended);
			}
			if (this.SwigDerivedClassHasMethod("objectReAppended", OdDbDatabaseReactor.swigMethodTypes4))
			{
				this.swigDelegate4 = new OdDbDatabaseReactor.SwigDelegateOdDbDatabaseReactor_4(this.SwigDirectorobjectReAppended);
			}
			if (this.SwigDerivedClassHasMethod("objectOpenedForModify", OdDbDatabaseReactor.swigMethodTypes5))
			{
				this.swigDelegate5 = new OdDbDatabaseReactor.SwigDelegateOdDbDatabaseReactor_5(this.SwigDirectorobjectOpenedForModify);
			}
			if (this.SwigDerivedClassHasMethod("objectModified", OdDbDatabaseReactor.swigMethodTypes6))
			{
				this.swigDelegate6 = new OdDbDatabaseReactor.SwigDelegateOdDbDatabaseReactor_6(this.SwigDirectorobjectModified);
			}
			if (this.SwigDerivedClassHasMethod("objectErased", OdDbDatabaseReactor.swigMethodTypes7))
			{
				this.swigDelegate7 = new OdDbDatabaseReactor.SwigDelegateOdDbDatabaseReactor_7(this.SwigDirectorobjectErased__SWIG_0);
			}
			if (this.SwigDerivedClassHasMethod("objectErased", OdDbDatabaseReactor.swigMethodTypes8))
			{
				this.swigDelegate8 = new OdDbDatabaseReactor.SwigDelegateOdDbDatabaseReactor_8(this.SwigDirectorobjectErased__SWIG_1);
			}
			if (this.SwigDerivedClassHasMethod("headerSysVarWillChange", OdDbDatabaseReactor.swigMethodTypes9))
			{
				this.swigDelegate9 = new OdDbDatabaseReactor.SwigDelegateOdDbDatabaseReactor_9(this.SwigDirectorheaderSysVarWillChange);
			}
			if (this.SwigDerivedClassHasMethod("headerSysVarChanged", OdDbDatabaseReactor.swigMethodTypes10))
			{
				this.swigDelegate10 = new OdDbDatabaseReactor.SwigDelegateOdDbDatabaseReactor_10(this.SwigDirectorheaderSysVarChanged);
			}
			if (this.SwigDerivedClassHasMethod("proxyResurrectionCompleted", OdDbDatabaseReactor.swigMethodTypes11))
			{
				this.swigDelegate11 = new OdDbDatabaseReactor.SwigDelegateOdDbDatabaseReactor_11(this.SwigDirectorproxyResurrectionCompleted);
			}
			if (this.SwigDerivedClassHasMethod("goodbye", OdDbDatabaseReactor.swigMethodTypes12))
			{
				this.swigDelegate12 = new OdDbDatabaseReactor.SwigDelegateOdDbDatabaseReactor_12(this.SwigDirectorgoodbye);
			}
			TD_DbPINVOKE.OdDbDatabaseReactor_director_connect(this.swigCPtr, this.swigDelegate0, this.swigDelegate1, this.swigDelegate2, this.swigDelegate3, this.swigDelegate4, this.swigDelegate5, this.swigDelegate6, this.swigDelegate7, this.swigDelegate8, this.swigDelegate9, this.swigDelegate10, this.swigDelegate11, this.swigDelegate12);
		}

		private bool SwigDerivedClassHasMethod(string methodName, Type[] methodTypes)
		{
			MethodInfo method = base.GetType().GetMethod(methodName, BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, null, methodTypes, null);
			return method.DeclaringType.IsSubclassOf(typeof(OdDbDatabaseReactor));
		}

		private IntPtr SwigDirectorqueryX(IntPtr protocolClass)
		{
			return OdRxObject.getCPtr(this.queryX((OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternal(protocolClass, false))).Handle;
		}

		private IntPtr SwigDirectorisA()
		{
			return OdRxClass.getCPtr(this.isA()).Handle;
		}

		private void SwigDirectorobjectAppended(IntPtr pDb, IntPtr pObject)
		{
			this.objectAppended((OdDbDatabase)Teigha.Core.Helpers.odrxCreateObjectInternal(pDb, false), (OdDbObject)Teigha.Core.Helpers.odrxCreateObjectInternal(pObject, false));
		}

		private void SwigDirectorobjectUnAppended(IntPtr pDb, IntPtr pObject)
		{
			this.objectUnAppended((OdDbDatabase)Teigha.Core.Helpers.odrxCreateObjectInternal(pDb, false), (OdDbObject)Teigha.Core.Helpers.odrxCreateObjectInternal(pObject, false));
		}

		private void SwigDirectorobjectReAppended(IntPtr pDb, IntPtr pObject)
		{
			this.objectReAppended((OdDbDatabase)Teigha.Core.Helpers.odrxCreateObjectInternal(pDb, false), (OdDbObject)Teigha.Core.Helpers.odrxCreateObjectInternal(pObject, false));
		}

		private void SwigDirectorobjectOpenedForModify(IntPtr pDb, IntPtr pObject)
		{
			this.objectOpenedForModify((OdDbDatabase)Teigha.Core.Helpers.odrxCreateObjectInternal(pDb, false), (OdDbObject)Teigha.Core.Helpers.odrxCreateObjectInternal(pObject, false));
		}

		private void SwigDirectorobjectModified(IntPtr pDb, IntPtr pObject)
		{
			this.objectModified((OdDbDatabase)Teigha.Core.Helpers.odrxCreateObjectInternal(pDb, false), (OdDbObject)Teigha.Core.Helpers.odrxCreateObjectInternal(pObject, false));
		}

		private void SwigDirectorobjectErased__SWIG_0(IntPtr pDb, IntPtr pObject, bool erased)
		{
			this.objectErased((OdDbDatabase)Teigha.Core.Helpers.odrxCreateObjectInternal(pDb, false), (OdDbObject)Teigha.Core.Helpers.odrxCreateObjectInternal(pObject, false), erased);
		}

		private void SwigDirectorobjectErased__SWIG_1(IntPtr pDb, IntPtr pObject)
		{
			this.objectErased((OdDbDatabase)Teigha.Core.Helpers.odrxCreateObjectInternal(pDb, false), (OdDbObject)Teigha.Core.Helpers.odrxCreateObjectInternal(pObject, false));
		}

		private void SwigDirectorheaderSysVarWillChange(IntPtr pDb, [MarshalAs(UnmanagedType.LPWStr)] string name)
		{
			this.headerSysVarWillChange((OdDbDatabase)Teigha.Core.Helpers.odrxCreateObjectInternal(pDb, false), name);
		}

		private void SwigDirectorheaderSysVarChanged(IntPtr pDb, [MarshalAs(UnmanagedType.LPWStr)] string name)
		{
			this.headerSysVarChanged((OdDbDatabase)Teigha.Core.Helpers.odrxCreateObjectInternal(pDb, false), name);
		}

		private void SwigDirectorproxyResurrectionCompleted(IntPtr pDb, [MarshalAs(UnmanagedType.LPWStr)] string appname, IntPtr objectIds)
		{
			this.proxyResurrectionCompleted((OdDbDatabase)Teigha.Core.Helpers.odrxCreateObjectInternal(pDb, false), appname, new OdDbObjectIdArray(objectIds, false));
		}

		private void SwigDirectorgoodbye(IntPtr pDb)
		{
			this.goodbye((OdDbDatabase)Teigha.Core.Helpers.odrxCreateObjectInternal(pDb, false));
		}

		private object locker = new object();

		private HandleRef swigCPtr;

		private OdDbDatabaseReactor.SwigDelegateOdDbDatabaseReactor_0 swigDelegate0;

		private OdDbDatabaseReactor.SwigDelegateOdDbDatabaseReactor_1 swigDelegate1;

		private OdDbDatabaseReactor.SwigDelegateOdDbDatabaseReactor_2 swigDelegate2;

		private OdDbDatabaseReactor.SwigDelegateOdDbDatabaseReactor_3 swigDelegate3;

		private OdDbDatabaseReactor.SwigDelegateOdDbDatabaseReactor_4 swigDelegate4;

		private OdDbDatabaseReactor.SwigDelegateOdDbDatabaseReactor_5 swigDelegate5;

		private OdDbDatabaseReactor.SwigDelegateOdDbDatabaseReactor_6 swigDelegate6;

		private OdDbDatabaseReactor.SwigDelegateOdDbDatabaseReactor_7 swigDelegate7;

		private OdDbDatabaseReactor.SwigDelegateOdDbDatabaseReactor_8 swigDelegate8;

		private OdDbDatabaseReactor.SwigDelegateOdDbDatabaseReactor_9 swigDelegate9;

		private OdDbDatabaseReactor.SwigDelegateOdDbDatabaseReactor_10 swigDelegate10;

		private OdDbDatabaseReactor.SwigDelegateOdDbDatabaseReactor_11 swigDelegate11;

		private OdDbDatabaseReactor.SwigDelegateOdDbDatabaseReactor_12 swigDelegate12;

		private static Type[] swigMethodTypes0 = new Type[]
		{
			typeof(OdRxClass)
		};

		private static Type[] swigMethodTypes1 = new Type[0];

		private static Type[] swigMethodTypes2 = new Type[]
		{
			typeof(OdDbDatabase),
			typeof(OdDbObject)
		};

		private static Type[] swigMethodTypes3 = new Type[]
		{
			typeof(OdDbDatabase),
			typeof(OdDbObject)
		};

		private static Type[] swigMethodTypes4 = new Type[]
		{
			typeof(OdDbDatabase),
			typeof(OdDbObject)
		};

		private static Type[] swigMethodTypes5 = new Type[]
		{
			typeof(OdDbDatabase),
			typeof(OdDbObject)
		};

		private static Type[] swigMethodTypes6 = new Type[]
		{
			typeof(OdDbDatabase),
			typeof(OdDbObject)
		};

		private static Type[] swigMethodTypes7 = new Type[]
		{
			typeof(OdDbDatabase),
			typeof(OdDbObject),
			typeof(bool)
		};

		private static Type[] swigMethodTypes8 = new Type[]
		{
			typeof(OdDbDatabase),
			typeof(OdDbObject)
		};

		private static Type[] swigMethodTypes9 = new Type[]
		{
			typeof(OdDbDatabase),
			typeof(string)
		};

		private static Type[] swigMethodTypes10 = new Type[]
		{
			typeof(OdDbDatabase),
			typeof(string)
		};

		private static Type[] swigMethodTypes11 = new Type[]
		{
			typeof(OdDbDatabase),
			typeof(string),
			typeof(OdDbObjectIdArray)
		};

		private static Type[] swigMethodTypes12 = new Type[]
		{
			typeof(OdDbDatabase)
		};

		public delegate IntPtr SwigDelegateOdDbDatabaseReactor_0(IntPtr protocolClass);

		public delegate IntPtr SwigDelegateOdDbDatabaseReactor_1();

		public delegate void SwigDelegateOdDbDatabaseReactor_2(IntPtr pDb, IntPtr pObject);

		public delegate void SwigDelegateOdDbDatabaseReactor_3(IntPtr pDb, IntPtr pObject);

		public delegate void SwigDelegateOdDbDatabaseReactor_4(IntPtr pDb, IntPtr pObject);

		public delegate void SwigDelegateOdDbDatabaseReactor_5(IntPtr pDb, IntPtr pObject);

		public delegate void SwigDelegateOdDbDatabaseReactor_6(IntPtr pDb, IntPtr pObject);

		public delegate void SwigDelegateOdDbDatabaseReactor_7(IntPtr pDb, IntPtr pObject, bool erased);

		public delegate void SwigDelegateOdDbDatabaseReactor_8(IntPtr pDb, IntPtr pObject);

		public delegate void SwigDelegateOdDbDatabaseReactor_9(IntPtr pDb, [MarshalAs(UnmanagedType.LPWStr)] string name);

		public delegate void SwigDelegateOdDbDatabaseReactor_10(IntPtr pDb, [MarshalAs(UnmanagedType.LPWStr)] string name);

		public delegate void SwigDelegateOdDbDatabaseReactor_11(IntPtr pDb, [MarshalAs(UnmanagedType.LPWStr)] string appname, IntPtr objectIds);

		public delegate void SwigDelegateOdDbDatabaseReactor_12(IntPtr pDb);
	}
}
